package c.e.b.m.l;

import com.google.auto.value.AutoValue;
import com.google.auto.value.AutoValue.Builder;

@AutoValue
/* compiled from: PersistedInstallationEntry */
public abstract class d {
    public static final /* synthetic */ int a = 0;

    @Builder
    /* compiled from: PersistedInstallationEntry */
    public static abstract class a {
        public abstract d a();

        public abstract a b(c.e.b.m.l.c.a aVar);
    }

    static {
        Long valueOf = Long.valueOf(0);
        String str = valueOf == null ? " expiresInSecs" : "";
        if (valueOf == null) {
            str = c.b.a.a.a.D(str, " tokenCreationEpochInSecs");
        }
        if (str.isEmpty()) {
            valueOf.longValue();
            valueOf.longValue();
            return;
        }
        throw new IllegalStateException(c.b.a.a.a.D("Missing required properties:", str));
    }

    public abstract String a();

    public abstract long b();

    public abstract String c();

    public abstract String d();

    public abstract String e();

    public abstract c.e.b.m.l.c.a f();

    public abstract long g();

    public boolean h() {
        return f() == c.e.b.m.l.c.a.REGISTER_ERROR;
    }

    public boolean i() {
        c.e.b.m.l.c.a aVar = ((a) this).c;
        return aVar == c.e.b.m.l.c.a.NOT_GENERATED || aVar == c.e.b.m.l.c.a.ATTEMPT_MIGRATION;
    }

    public abstract a j();
}
